package com.example.demo;


import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@RefreshScope
@Component
@FeignClient(value = "scpmerchant", url = "${scpmerchant.url}")
public interface ScpmerchantRest {

    @GetMapping("/hello")
    String hello();

}
